package com.jwds.digital.bios.business.core.infrastructure.mapper.basic;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwds.digital.bios.business.core.infrastructure.dto.basic.BasicOperateLogReqDTO;
import com.jwds.digital.bios.business.core.infrastructure.entity.basic.BasicOperateLog;
import com.jwds.digital.bios.business.core.infrastructure.vo.basic.BasicOperateLogRespVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description BasicOperateLogMapper
 * @Author xiao  xun
 * @Date 2024-12-07
 */
@Mapper
public interface BasicOperateLogMapper extends BaseMapper<BasicOperateLog> {
    /**
     * 分页查询
     * @param page
     * @param condition
     * @return
     */
    IPage<BasicOperateLogRespVO> pageQuery(@Param("page") Page<BasicOperateLogRespVO> page, @Param("condition") BasicOperateLogReqDTO condition);

    /**
     * 列表查询
     * @param reqDto
     * @return
     */
    List<BasicOperateLogRespVO> queryList(@Param("condition") BasicOperateLogReqDTO reqDto);
}
